package inherit;

public class TeacherTest {
    public static void main(String[] args) {
        Teacher t = new Teacher("zhangsan",20);
        System.out.println(t.age);
        t.inherit();
    }
}
